extends "../../azurlane_ctrl/AzurItem.gd"
func init():
	.init()
	name = "[普通]链式装弹机"
	att.spd = -0.3
	info = "每次炮击加快自身技能冷却1秒，每秒最多触发一次\n[color=#DC143C]同时装备三件时可升级[/color]"

func _connect():
	._connect()
	masCha.connect("normalAtkChara",self,"normalAtkChara")
var flag = true
func normalAtkChara(cha):
	if flag:
		var skills = masCha.skills
		for i in skills:
			if i.cd - i.nowTime > 1:
				i.nowTime += 1
		flag = false
	
func _upS():
	flag = true

func upgrade():
	name = "[color=#FFFF00][史诗]链式装弹机"
	info = "每次炮击加快自身技能冷却1秒，每秒最多触发一次"
	att.spd = 0